package me.monster.smarttraffic.base;

/**
 * @description
 * @author: Created jiangjiwei in 2018/11/2 09:36
 */
public interface BaseView extends IView {

    /**
     * showLoading
     */
    void showLoading();

    /**
     * dismissLoading
     */
    void dismissLoading();

    /**
     * show Toasty
     *
     * @param message message
     */
    void toast(CharSequence message);

    /**
     * 显示错误信息
     *
     * @param error 错误代码
     */
    void showError(int error);
}
